package com.cloud.iotdb.utils.domain;


/**
 * @Author: JohnCoding
 * @Description: 时间序列参数实体
 * @date: 2020/3/25 14:16
 */
public class TimeseriesDomain {

    /**
     * 参数名
     */
    private String name;

    /**
     * 数据类型
     */
    private String dataType;


    private String unit;

    private Object value;

    /**
     * 存储组name
     */
//    private String storageGroup;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public TimeseriesDomain clean() {
        this.dataType = null;
        this.name = null;
        this.unit = null;
        return this;
    }

}
